﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200099D RID: 2461
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JFDLAOPNLLA : IMessage<JFDLAOPNLLA>, IMessage, IEquatable<JFDLAOPNLLA>, IDeepCloneable<JFDLAOPNLLA>, IBufferMessage
	{
		// Token: 0x17001F27 RID: 7975
		// (get) Token: 0x06006E69 RID: 28265 RVA: 0x00127CA8 File Offset: 0x00125EA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JFDLAOPNLLA> Parser
		{
			get
			{
				return JFDLAOPNLLA._parser;
			}
		}

		// Token: 0x17001F28 RID: 7976
		// (get) Token: 0x06006E6A RID: 28266 RVA: 0x00127CAF File Offset: 0x00125EAF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JFDLAOPNLLAReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F29 RID: 7977
		// (get) Token: 0x06006E6B RID: 28267 RVA: 0x00127CC1 File Offset: 0x00125EC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JFDLAOPNLLA.Descriptor;
			}
		}

		// Token: 0x06006E6C RID: 28268 RVA: 0x00127CC8 File Offset: 0x00125EC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JFDLAOPNLLA()
		{
		}

		// Token: 0x06006E6D RID: 28269 RVA: 0x00127CD0 File Offset: 0x00125ED0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JFDLAOPNLLA(JFDLAOPNLLA other) : this()
		{
			this.mazeId_ = other.mazeId_;
			this.level_ = other.level_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006E6E RID: 28270 RVA: 0x00127D01 File Offset: 0x00125F01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JFDLAOPNLLA Clone()
		{
			return new JFDLAOPNLLA(this);
		}

		// Token: 0x17001F2A RID: 7978
		// (get) Token: 0x06006E6F RID: 28271 RVA: 0x00127D09 File Offset: 0x00125F09
		// (set) Token: 0x06006E70 RID: 28272 RVA: 0x00127D11 File Offset: 0x00125F11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MazeId
		{
			get
			{
				return this.mazeId_;
			}
			set
			{
				this.mazeId_ = value;
			}
		}

		// Token: 0x17001F2B RID: 7979
		// (get) Token: 0x06006E71 RID: 28273 RVA: 0x00127D1A File Offset: 0x00125F1A
		// (set) Token: 0x06006E72 RID: 28274 RVA: 0x00127D22 File Offset: 0x00125F22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x06006E73 RID: 28275 RVA: 0x00127D2B File Offset: 0x00125F2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JFDLAOPNLLA);
		}

		// Token: 0x06006E74 RID: 28276 RVA: 0x00127D39 File Offset: 0x00125F39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JFDLAOPNLLA other)
		{
			return other != null && (other == this || (this.MazeId == other.MazeId && this.Level == other.Level && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006E75 RID: 28277 RVA: 0x00127D78 File Offset: 0x00125F78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MazeId != 0U)
			{
				num ^= this.MazeId.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006E76 RID: 28278 RVA: 0x00127DD0 File Offset: 0x00125FD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006E77 RID: 28279 RVA: 0x00127DD8 File Offset: 0x00125FD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006E78 RID: 28280 RVA: 0x00127DE4 File Offset: 0x00125FE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Level != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Level);
			}
			if (this.MazeId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.MazeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006E79 RID: 28281 RVA: 0x00127E40 File Offset: 0x00126040
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MazeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MazeId);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006E7A RID: 28282 RVA: 0x00127E98 File Offset: 0x00126098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JFDLAOPNLLA other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MazeId != 0U)
			{
				this.MazeId = other.MazeId;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006E7B RID: 28283 RVA: 0x00127EE8 File Offset: 0x001260E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006E7C RID: 28284 RVA: 0x00127EF4 File Offset: 0x001260F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 32U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.MazeId = input.ReadUInt32();
					}
				}
				else
				{
					this.Level = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002A17 RID: 10775
		private static readonly MessageParser<JFDLAOPNLLA> _parser = new MessageParser<JFDLAOPNLLA>(() => new JFDLAOPNLLA());

		// Token: 0x04002A18 RID: 10776
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002A19 RID: 10777
		public const int MazeIdFieldNumber = 4;

		// Token: 0x04002A1A RID: 10778
		private uint mazeId_;

		// Token: 0x04002A1B RID: 10779
		public const int LevelFieldNumber = 3;

		// Token: 0x04002A1C RID: 10780
		private uint level_;
	}
}
